package xps.and.uudaijia.userclient.data.baen;

import java.util.List;

/**
 * Created by Administrator on 2017/7/13.
 */

public class MapBean {

    @Override
    public String toString() {
        return "MapBean{" +
                "return_code='" + return_code + '\'' +
                ", return_msg='" + return_msg + '\'' +
                ", return_body=" + return_body +
                '}';
    }

    /**
     * return_code : SUCCESS
     * return_msg : 查询到1位师傅
     * return_body : [{"entity_name":"105","create_time":"2017-06-06 19:49:04","modify_time":"2017-06-06 20:04:57","latest_location":{"loc_time":1496750691,"longitude":117.27339445069,"latitude":39.124768997051,"direction":0,"height":1,"radius":9,"speed":0,"distance":3348.287922},"driver_type":"2","entity_desc":"专车司机王虎","user_id":"1","workState":"2"}]
     */

    private String return_code;
    private String return_msg;
    private List<ReturnBodyBean> return_body;

    public String getReturn_code() {
        return return_code;
    }

    public void setReturn_code(String return_code) {
        this.return_code = return_code;
    }

    public String getReturn_msg() {
        return return_msg;
    }

    public void setReturn_msg(String return_msg) {
        this.return_msg = return_msg;
    }

    public List<ReturnBodyBean> getReturn_body() {
        return return_body;
    }

    public void setReturn_body(List<ReturnBodyBean> return_body) {
        this.return_body = return_body;
    }

    public static class ReturnBodyBean {
        /**
         * entity_name : 105
         * create_time : 2017-06-06 19:49:04
         * modify_time : 2017-06-06 20:04:57
         * latest_location : {"loc_time":1496750691,"longitude":117.27339445069,"latitude":39.124768997051,"direction":0,"height":1,"radius":9,"speed":0,"distance":3348.287922}
         * driver_type : 2
         * entity_desc : 专车司机王虎
         * user_id : 1
         * workState : 2
         */

        private String entity_name;
        private String create_time;
        private String modify_time;
        private LatestLocationBean latest_location;
        private String driver_type;
        private String entity_desc;
        private String user_id;
        private String workState;

        public String getEntity_name() {
            return entity_name;
        }

        public void setEntity_name(String entity_name) {
            this.entity_name = entity_name;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getModify_time() {
            return modify_time;
        }

        public void setModify_time(String modify_time) {
            this.modify_time = modify_time;
        }

        public LatestLocationBean getLatest_location() {
            return latest_location;
        }

        public void setLatest_location(LatestLocationBean latest_location) {
            this.latest_location = latest_location;
        }

        public String getDriver_type() {
            return driver_type;
        }

        public void setDriver_type(String driver_type) {
            this.driver_type = driver_type;
        }

        public String getEntity_desc() {
            return entity_desc;
        }

        public void setEntity_desc(String entity_desc) {
            this.entity_desc = entity_desc;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getWorkState() {
            return workState;
        }

        public void setWorkState(String workState) {
            this.workState = workState;
        }

        public static class LatestLocationBean {
            /**
             * loc_time : 1496750691
             * longitude : 117.27339445069
             * latitude : 39.124768997051
             * direction : 0
             * height : 1
             * radius : 9
             * speed : 0
             * distance : 3348.287922
             */

            private int loc_time;
            private double longitude;
            private double latitude;
            private int direction;
            private int height;
            private float radius;
            private float speed;
            private double distance;

            public int getLoc_time() {
                return loc_time;
            }

            public void setLoc_time(int loc_time) {
                this.loc_time = loc_time;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public int getDirection() {
                return direction;
            }

            public void setDirection(int direction) {
                this.direction = direction;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public float getRadius() {
                return radius;
            }

            public void setRadius(int radius) {
                this.radius = radius;
            }

            public float getSpeed() {
                return speed;
            }

            public void setSpeed(int speed) {
                this.speed = speed;
            }

            public double getDistance() {
                return distance;
            }

            public void setDistance(double distance) {
                this.distance = distance;
            }
        }
    }
}





